package com.hyc.commons.result;

import java.io.Serializable;

/** 
 * @author  作者 Mark: 
 * @date 创建时间：2018年1月14日 下午10:37:58 
 * @version 1.0 
 * @parameter  
 * @since  
 * @return 
 */
public class Result implements Serializable {

	private static final long serialVersionUID = 1L;

	public static final int SUCCESS=1;
	
	public static final int ERROR=0;
	
	private boolean success=false;
	
	private String msg="";
	
	private Object data=null;

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
	
	
	
}
